Lender Price API
Locking a Loan with LOS / 6. Lock Request With Price Concession / 6.3 Add Request Lock Event
In This Topic
    6.3 Add Request Lock Event
    In This Topic

    To make a lock request with a price concession, add a lock event using the addLockEvent call. The price concession is addressed in the body of the call, in the LockEventExtensionInfo object.

    Path

    /rest/v1/lp-ppe-api/price-quote/addLockEvent

    Headers

    secret

    {{token}}

    companyid

    {{companyId}}

    Path Parameters

    There are no path parameters

    Body:

    Within the body enter your details as lockEventExceptionInfo. The relevant options are:

    Response

    There is no response body.

    Example Request

    Copy Code
            
    curl --location -g --request POST '{{protocol}}{{domain}}/rest/v1/lock/addLockEvent' \
    --header 'secret: {{token}}' \
    --header 'companyid: {{companyId}}' \
    --data-raw '{
        "lockId": "{{lockId}}",
        "lockStatusId": "{{lockStatusId}}",
        "priceQuoteId": "{{priceQuoteId}}",
     lockEventExceptionInfo: {
       "exceptionType": "Rate",
       "exceptionValueType": "Points";
       "requestType": "Request",
       "reason": "First-time buyer discount",
       "values": "2.5"
             }'